Rtcl\Database\Eloquent\Paginator A

Total Complexity 51
Dependencies 3
Dependents 1
Total lines 448
Lines of code 148
Logical lines of code 59
Comment lines 228
Methods 30
Properties 11

Methods 30

Method Rating Maintainability Complexity Lines of code
url()
S
60 4 13
__construct()
S
59 4 12
appends()
S
66 3 9
setCurrentPage()
S
74 3 4
toArray()
S
56 1 18
appendArray()
S
70 2 6
hasPages()
S
79 2 3
lastItem()
S
77 2 3
firstItem()
S
76 2 3
withQueryString()
S
71 2 6
nextPageUrl()
S
73 2 5
previousPageUrl()
S
73 2 5
isValidPageNumber()
S
77 2 3
resolveCurrentPath()
S
71 2 6
buildFragment()
S
79 2 3
addQuery()
S
71 2 6
getPageName()
S
82 1 3
jsonSerialize()
S
81 1 3
currentPage()
S
82 1 3
onLastPage()
S
80 1 3
onFirstPage()
S
80 1 3
count()
S
81 1 3
perPage()
S
82 1 3
through()
S
77 1 4
items()
S
81 1 3
path()
S
82 1 3
lastPage()
S
82 1 3
hasMorePages()
S
80 1 3
total()
S
82 1 3
toJson()
S
79 1 3